package name.huzhenbo.java.patterns.interpreter;

class BooleanExp {
    private String name;

    public BooleanExp(String name) {
        this.name = name;
    }

    public boolean evaluate(Context context) {
        return context.lookup(name);
    }
}
